package com.zhou.client;

import com.zhou.config.FeignGsonConfiguration;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
@FeignClient(value = "demo", configuration = FeignGsonConfiguration.class)
public interface UserClient {
    @RequestMapping("user/get")
    String getUser();
}
